package com.service;

import com.pojo.Brand;
import com.pojo.CarouselFigure;
import com.pojo.PageBean;

import java.util.List;

public interface BrandService {
    PageBean<Brand> findAll(int limit, int current);

    boolean addBrand(Brand brand);

    boolean updateBrand(Brand brand);

    boolean deleteBrand(String id);

    Brand findByID(String id);

    Brand findByName(String name);

    List<Brand> findByBrandType(String productTypeName);
}
